/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.ddtroops.serviceinterfaces;

import cz.muni.fi.pa165.ddtroops.dto.UserDTO;
import java.util.List;

/**
 *
 * @author Svoboda
 */
public interface UserService {


    UserDTO createNewUser(String name, String password, String authorization);
    
    
    void create(UserDTO squad);


    void update(UserDTO squad);


    void delete(UserDTO squad);


    UserDTO getByName(String name);


    UserDTO getById(Long id);


    List<UserDTO> getAll();
}
